<?
   define('ROOT', $_SERVER['DOCUMENT_ROOT']);
   require_once(ROOT.'/class/database.php');
   require_once(ROOT.'/functions/function.php');
   require_once(ROOT.'/class/generate_form.php');
   require_once(ROOT.'/class/upload.php');
   require_once(ROOT.'/class/uploadMulti.php');
   require_once(ROOT.'/class/simpleImage.php');
   require_once(ROOT.'/class/form.php');
   
   $js  = '';
   $js .= '<script type="text/javascript" src="../../js/jquery-1.8.2.min.js"></script>'."\n";
   $js .= '<script type="text/javascript" src="../../js/jsTheNamShop.js"></script>'."\n";
   $js .= '<script type="text/javascript" src="../../js/js_function.js"></script>'."\n";
   $js .= '<script type="text/javascript" src="../../js/table.js"></script>'."\n";
   $js .= '<script type="text/javascript" src="../resoure/ckeditor/ckeditor.js"></script>'."\n";
   $css ='';
   $css .= '<link href="../css/main.css"  rel="stylesheet"/>
         <link href="../css/css-table.css"  rel="stylesheet"/>';
   $path_img_thumb   = ROOT.'/pictures/product/thumbnail/';
   $path_img_detail  = ROOT.'/pictures/product/detail/'; 
   $path_img_view_thumb =  '../../pictures/product/thumbnail/'   
?>